<template>
  <div>
    <el-dropdown trigger="click">
      <div class="user-profile">
        <img class="user-profile__avatar" src="E:\newProject\xhaqdm_vue\src\assets\OIP-C.jpg" />
        <span class="user-profile__name">小虎爱钱钱钱钱钱</span>
      </div>
      <template #dropdown>
        <el-dropdown-menu>
          <el-dropdown-item @click="handleProfileClick">
            用户信息
          </el-dropdown-item>
          <el-dropdown-item divided @click="logout">
            登出
          </el-dropdown-item>
        </el-dropdown-menu>
      </template>
    </el-dropdown>
  </div>
</template>

<script setup>
</script>

<style></style>